<?php
	session_start();
	require('Gen_Scripts/gen_functions.php');
	login();
	wipe_active();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
 "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<!--  CSS Stuff -->
<link rel="stylesheet" href="images/FNT_s4.css" type="text/css" />
<link rel="stylesheet" href="Manage/css/FNT_manage.css" type="text/css" />


<!-- Jquery Stuff -->
<script type="text/javascript" src="./Gen_Scripts/jquery/jquery.js"></script>
<script type="text/javascript" src="./Gen_Scripts/jquery/jquery.form.js"></script>
<script type="text/javascript" src="./Gen_Scripts/jquery/ui/ui.core.min.js"></script>
<script type="text/javascript" src="./Gen_Scripts/jquery/ui/ui.tabs.min.js"></script>
<script type="text/javascript" src="./Gen_Scripts/jquery/thickbox.js"></script>


<!-- Smooth Scrolling -->
<script src="./Gen_Scripts/jquery/jquery.scrollTo.js" type="text/javascript"></script>
<script src="./Gen_Scripts/jquery/jquery.localscroll.js" type="text/javascript"></script>


<script type="text/javascript">
$(document).ready(function(){
	$("#t_add_ajax").load("Manage/t_add.php");
	$("#t_edit_ajax").load("Manage/t_edit.php");
	$("#gp_add_ajax").load("Manage/gp_add.php");
	$("#gp_edit_ajax").load("Manage/gp_edit.php");

	$('#menu').localScroll();
});
</script>
<title>FriNiteTourny</title> 
</head> 
<body>

	<div id="wrap">
		<?php 
		show_menu('index');		
		?>
		
		<!--   Tournament backend  --->
		<div id="tourny_add">
			<div id="t_add_ajax"></div>
		</div>
		
		<!--div id="tourny_edit">
			<div id="t_edit_ajax"></div>
		</div-->
			
		<!--   GamePoint backend  --->
		<div id="gp_add">
			<div id="gp_add_ajax"></div>
		</div>
		<!--div id="gp_edit">
			<div id="gp_edit_ajax"></div>
		</div-->
	</div>


</body>